package com.yhao.simpledemo.util;

/**
 * @author : yhao
 * @Date : 2024/1/18 - 20:30
 * @Desc : TODO
 */
public class MTest {

    public static void main(String[] args) {
        //实现三个窗口卖100张票的
        Thread t1 = new MyThread("窗口1");
        Thread t2 = new MyThread("窗口2");
        Thread t3 = new MyThread("窗口3");
        Thread t4 = new MyThread("窗口4");
        Thread t5 = new MyThread("窗口5");
        t2.start();
        t1.start();
        t3.start();
        t4.start();
        t5.start();

    }
}
